package com.cheng.student.service.interfaces;

import com.cheng.student.beans.Teacher;

import java.awt.*;

public interface TeacherService
{
    //根据所给对象的工资号与密码更新其余属性
    public void flushTeacher(Teacher teacher);
    //根据姓名及工资号更新其余属性及头像
    public void flushTeacher(Teacher teacher, Image image);
    //登录
    public Teacher loginTeacher(String payrollNumber, String password);

}
